package com.zhangkunhao.notes.entity.Do;

import com.zhangkunhao.notes.annotation.TableField;
import com.zhangkunhao.notes.annotation.TableId;
import com.zhangkunhao.notes.annotation.TableName;


/**
 * 关注的用户的列表
 *
 * @author 20642
 */
@TableName(name = "tb_pursue_list")
public class PursueList {
    @TableId(value = "id")
    private Integer id;
    /**
     * 发起关注的用户的id
     */
    @TableField(value = "pursuing_id")
    private Integer pursuingId;
    /**
     * 被关注的用户的id
     */
    @TableField(value = "pursued_id")
    private Integer pursuedId;

    public PursueList() {
    }

    public PursueList(Integer id, Integer pursuingId, Integer pursuedId) {
        this.id = id;
        this.pursuingId = pursuingId;
        this.pursuedId = pursuedId;
    }

    /**
     * 获取
     *
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     *
     * @param id：
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     *
     * @return pursuingId
     */
    public Integer getPursuingId() {
        return pursuingId;
    }

    /**
     * 设置
     *
     * @param pursuingId：
     */
    public void setPursuingId(Integer pursuingId) {
        this.pursuingId = pursuingId;
    }

    /**
     * 获取
     *
     * @return pursuedId
     */
    public Integer getPursuedId() {
        return pursuedId;
    }

    /**
     * 设置
     *
     * @param pursuedId：
     */
    public void setPursuedId(Integer pursuedId) {
        this.pursuedId = pursuedId;
    }

    @Override
    public String toString() {
        return "PursueList{id = " + id + ", pursuingId = " + pursuingId + ", pursuedId = " + pursuedId + "}";
    }
}
